[INFO] cloning repository https://github.com/MalwareAhead/minigrep
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/MalwareAhead/minigrep" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMalwareAhead%2Fminigrep", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMalwareAhead%2Fminigrep'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 335cdf1348ea9ca0b838089cc77b096d8fcfcbb8
[INFO] checking MalwareAhead/minigrep against master#e6e4f7ed1589e03bc2f6c5931c1a72e7947e8682 for beta-170-4
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMalwareAhead%2Fminigrep" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/MalwareAhead/minigrep on toolchain e6e4f7ed1589e03bc2f6c5931c1a72e7947e8682
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e6e4f7ed1589e03bc2f6c5931c1a72e7947e8682" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/MalwareAhead/minigrep
[INFO] finished tweaking git repo https://github.com/MalwareAhead/minigrep
[INFO] tweaked toml for git repo https://github.com/MalwareAhead/minigrep written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/MalwareAhead/minigrep already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e6e4f7ed1589e03bc2f6c5931c1a72e7947e8682" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+e6e4f7ed1589e03bc2f6c5931c1a72e7947e8682" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] d241cb31b8b1444f8f7deb563a0c428ab840810283a2cdd7ff7eadf04e851a31
[INFO] running `Command { std: "docker" "start" "-a" "d241cb31b8b1444f8f7deb563a0c428ab840810283a2cdd7ff7eadf04e851a31", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d241cb31b8b1444f8f7deb563a0c428ab840810283a2cdd7ff7eadf04e851a31", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d241cb31b8b1444f8f7deb563a0c428ab840810283a2cdd7ff7eadf04e851a31", kill_on_drop: false }`
[INFO] [stdout] d241cb31b8b1444f8f7deb563a0c428ab840810283a2cdd7ff7eadf04e851a31
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+e6e4f7ed1589e03bc2f6c5931c1a72e7947e8682" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] a9eaede274615db601d03ea60f023ad61c44c9c38a5cdc06705c34884ef18652
[INFO] running `Command { std: "docker" "start" "-a" "a9eaede274615db601d03ea60f023ad61c44c9c38a5cdc06705c34884ef18652", kill_on_drop: false }`
[INFO] [stderr]     Checking minigrep v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/lib.rs:8:55
[INFO] [stdout]    |
[INFO] [stdout] 8  |       let results: Vec<&str> = if config.case_sensitive {
[INFO] [stdout]    |  _______________________________________________________^
[INFO] [stdout] 9  | |         search(&config.query, &contents);
[INFO] [stdout]    | |                                         - help: remove this semicolon to return this value
[INFO] [stdout] 10 | |     } else {
[INFO] [stdout]    | |_____^ expected `Vec<&str>`, found `()`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected struct `Vec<&str>`
[INFO] [stdout]            found unit type `()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/lib.rs:8:55
[INFO] [stdout]    |
[INFO] [stdout] 8  |       let results: Vec<&str> = if config.case_sensitive {
[INFO] [stdout]    |  _______________________________________________________^
[INFO] [stdout] 9  | |         search(&config.query, &contents);
[INFO] [stdout]    | |                                         - help: remove this semicolon to return this value
[INFO] [stdout] 10 | |     } else {
[INFO] [stdout]    | |_____^ expected `Vec<&str>`, found `()`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected struct `Vec<&str>`
[INFO] [stdout]            found unit type `()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/lib.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout] 10 |       } else {
[INFO] [stdout]    |  ____________^
[INFO] [stdout] 11 | |         search_case_insensitive(&config.query, &contents);
[INFO] [stdout]    | |                                                          - help: remove this semicolon to return this value
[INFO] [stdout] 12 | |     };
[INFO] [stdout]    | |_____^ expected `Vec<&str>`, found `()`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected struct `Vec<&str>`
[INFO] [stdout]            found unit type `()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/lib.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout] 10 |       } else {
[INFO] [stdout]    |  ____________^
[INFO] [stdout] 11 | |         search_case_insensitive(&config.query, &contents);
[INFO] [stdout]    | |                                                          - help: remove this semicolon to return this value
[INFO] [stdout] 12 | |     };
[INFO] [stdout]    | |_____^ expected `Vec<&str>`, found `()`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected struct `Vec<&str>`
[INFO] [stdout]            found unit type `()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: expected a `FnOnce<(_,)>` closure, found `bool`
[INFO] [stdout]   --> src/lib.rs:37:46
[INFO] [stdout]    |
[INFO] [stdout] 37 |             Ok(flag) => flag.parse().or_else(false)
[INFO] [stdout]    |                                      ------- ^^^^^ expected an `FnOnce<(_,)>` closure, found `bool`
[INFO] [stdout]    |                                      |
[INFO] [stdout]    |                                      required by a bound introduced by this call
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `FnOnce<(_,)>` is not implemented for `bool`
[INFO] [stdout] note: required by a bound in `Result::<T, E>::or_else`
[INFO] [stdout]   --> /rustc/e6e4f7ed1589e03bc2f6c5931c1a72e7947e8682/library/core/src/result.rs:1378:5
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: expected a `FnOnce<(_,)>` closure, found `bool`
[INFO] [stdout]   --> src/lib.rs:37:46
[INFO] [stdout]    |
[INFO] [stdout] 37 |             Ok(flag) => flag.parse().or_else(false)
[INFO] [stdout]    |                                      ------- ^^^^^ expected an `FnOnce<(_,)>` closure, found `bool`
[INFO] [stdout]    |                                      |
[INFO] [stdout]    |                                      required by a bound introduced by this call
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `FnOnce<(_,)>` is not implemented for `bool`
[INFO] [stdout] note: required by a bound in `Result::<T, E>::or_else`
[INFO] [stdout]   --> /rustc/e6e4f7ed1589e03bc2f6c5931c1a72e7947e8682/library/core/src/result.rs:1378:5
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: `match` arms have incompatible types
[INFO] [stdout]   --> src/lib.rs:37:25
[INFO] [stdout]    |
[INFO] [stdout] 35 |           let case_sensitive: bool = match env::var("CASE_SENSITIVE") {
[INFO] [stdout]    |  ____________________________________-
[INFO] [stdout] 36 | |             Err(_) => false,
[INFO] [stdout]    | |                       ----- this is found to be of type `bool`
[INFO] [stdout] 37 | |             Ok(flag) => flag.parse().or_else(false)
[INFO] [stdout]    | |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `bool`, found `Result<_, _>`
[INFO] [stdout] 38 | |         };
[INFO] [stdout]    | |_________- `match` arms have incompatible types
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected type `bool`
[INFO] [stdout]               found enum `Result<_, _>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: `match` arms have incompatible types
[INFO] [stdout]   --> src/lib.rs:37:25
[INFO] [stdout]    |
[INFO] [stdout] 35 |           let case_sensitive: bool = match env::var("CASE_SENSITIVE") {
[INFO] [stdout]    |  ____________________________________-
[INFO] [stdout] 36 | |             Err(_) => false,
[INFO] [stdout]    | |                       ----- this is found to be of type `bool`
[INFO] [stdout] 37 | |             Ok(flag) => flag.parse().or_else(false)
[INFO] [stdout]    | |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `bool`, found `Result<_, _>`
[INFO] [stdout] 38 | |         };
[INFO] [stdout]    | |_________- `match` arms have incompatible types
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected type `bool`
[INFO] [stdout]               found enum `Result<_, _>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0308.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0308.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `minigrep` (lib) due to 5 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `minigrep` (lib test) due to 5 previous errors
[INFO] running `Command { std: "docker" "inspect" "a9eaede274615db601d03ea60f023ad61c44c9c38a5cdc06705c34884ef18652", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a9eaede274615db601d03ea60f023ad61c44c9c38a5cdc06705c34884ef18652", kill_on_drop: false }`
[INFO] [stdout] a9eaede274615db601d03ea60f023ad61c44c9c38a5cdc06705c34884ef18652
